<div class="main_content" id="main_content">
	<div id="printArea" class="printArea">
		<table width="98%" name="tab_print" id="tab_print" class="tab_print" border="0" cellpadding="0" cellspacing="1" align="left">
		<tbody>
			<tr><td colspan="10" class="tab_title">自购记录</td></tr>
			<tr>
				<td>物资编号</td>
				<td>规格型号</td>
				<td width="5%">单价</td>
				<td width="5%">数量</td>
				<td>总价</td>
				<td>单位</td>
				<td>付款方式</td>
				<td>所属项目</td>
				<td>合同号</td>
				<td width="25%">备注</td>
			</tr>
			<tr>
			<td>{%$materials_name%}</td>
			<td>{%$specification%}</td>
			<td>{%$price%}</td>
			<td>{%$number%}</td>
			<td>{%$price * $number%}</td>
			<td>{%$m_unit%}</td>
			<td>{%$pay_type_arr[$pay_type]%}</td>
			<td>{%$project_arr[$project_id]%}</td>
			<td>{%$contract_no%}</td>
			<td>{%$info%}</td>
			</tr>
			
					</tbody>
		</table>
	</div>
	
	<div class="btn_list">
		<span class="btn_add" onclick="doPrint()">打 印</span>
	</div>
</div>

<script type="text/javascript">
function doPrint() {
	$("#printArea").printArea();;
}
</script>